var url_java = {
    //----------------------新接口---------------------
    banner: 'home/banner.json',
    level_list: 'home/levelList.json',
    level_detail: 'home/levelDetail.json',
    login: 'home/login.json',
    register: 'home/register.json',
    getVCode: 'support/getVCode.json',
    pickUpList: 'home/pickUpList.json',
    resetPassword: 'home/resetPassword.json',
    changePassword: 'home/changePassword.json',
    goodsList: 'goods/goodsList.json',
    goodsDetail: 'goods/goodsDetail.json',
    buy: 'orders/buy.json',
    orderConfirm: 'orders/orderConfirm.json',
    orderCancel: 'orders/orderCancel.json',
    myOrderList: 'orders/myOrderList.json',
    confirmOrderList: 'orders/confirmOrderList.json',
    memberInfo: 'personal/memberInfo.json',
    share: 'personal/share.json',
    addBankCard: 'personal/addBankCard.json',
    getBankCardList: 'personal/getBankCardList.json',
    changeDefaultBankCard: 'personal/changeDefaultBankCard.json',
    deleteBankCard: 'personal/deleteBankCard.json',
    getDefaultBankCard: 'personal/getDefaultBankCard.json',
    withdrawal: 'personal/withdrawal.json',
    withdrawalRecord: 'personal/withdrawalRecord.json',
    level_buy: 'levelOrders/buy.json',
    myLevelOrdersList: 'levelOrders/myOrdersList.json',
    receiveOrdersList: 'levelOrders/receiveOrdersList.json',
    levelOrdersConfirm: 'levelOrders/orderConfirm.json',
    levelOrdersCancel: 'levelOrders/orderCancel.json',

    levelUpBuy: 'levelOrders/levelUpBuy.json',
    addAddress: 'address/save.json',
    getDefaultAddress: 'address/getDefault.json',
    addressList:'address/list.json',
    deleteAddress:'address/delete.json',
    setDefaultAddress:'address/setDefault.json',
    goodsOrdersCreate: 'goodsOrders/createOrders.json',
    goodsOrdersList: 'goodsOrders/ordersListByStatus.json',
    confirmReceive: 'goodsOrders/confirmReceive.json',
    giftOrder: 'goodsOrders/giftOrder.json',
    team: 'personal/team.json',
    integralRecord: 'personal/integralRecord.json',
    stockRecord: 'personal/stockRecord.json',
    upload: 'image/upload.json',
    updateAvatar: 'personal/updateAvatar.json',
    updateNickName: 'personal/updateNickName.json',
    earningsRecord: 'personal/earningsRecord.json',
    updateExperienceQRcode: 'personal/updateExperienceQRcode.json',
    updateAngelQRcode: 'personal/updateAngelQRcode.json',
    getPaymentQRcode: 'personal/getPaymentQRcode.json',
    teamAchievement: 'personal/teamAchievement.json',

    aliPay:'pay/alipay.json',
};
/* var host = 'http://mcity.asrobot.cn/api/'; */
/* var host = 'http://localhost:8080/'; */
var host = 'http://192.168.31.135:8080/api'


for (var key in url_java) {
    if (url_java.hasOwnProperty(key)) {
        url_java[key] = host + url_java[key];
    }
}
export default url_java;
